﻿using IMES.Common.Domain.DariusModel;
using IMES.Common.Dtos;
using MediatR;

namespace Darius.API.Application.Commands
{
    public class UsersCreateCommand:IRequest<ResultT<UsersRoleDto>>
    {
        /// <summary>
        /// 角色ID
        /// </summary>
        public int? RoleId { get; set; }
        /// <summary>
        /// 父级ID
        /// </summary>
        public int Pid { get; set; }
        public int UsersId { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string? UserAccount { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string? UsersName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Gender { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string? UsersImage { get; set; }
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime? UsersDate { get; set; } = DateTime.Now;
        /// <summary>
        /// 创建人名
        /// </summary>
        public string? CreateName { get; set; }
    }
}
